package com.graduation.smartparkingplatform.Dao;

import com.graduation.smartparkingplatform.Pojo.Distinguish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DistinguishMapper {
  public List<Distinguish> getdistinguishList();

  public List<Distinguish> searchDistinguish(
      @Param("distinguishType") String distinguishType,
      @Param("carPlate") String carPlate,
      @Param("distinguishTime") String distinguishTime);

  public Boolean deleteDistinguish(@Param("distinguishId") Integer distinguishId);

  public List<Distinguish> getdistinguishListAll();

  public List<Distinguish> Distinguish_list_In(@Param("distinguishType") String distinguishType);

  public List<Distinguish> Distinguish_list_In_all(
      @Param("distinguishType") String distinguishType);

  public Integer Distinguish_count_Out(@Param("distinguishType") String distinguishType);
}
